package com.xuchaotong.tree;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 357070 on 2017/4/8.
 */
public class Node implements Serializable{

    private static final long serialVersionUID = -6414714742985703756L;

    private String id;
    private String name;
    private String parentId;
    private List<Node> childNodes;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<Node> getChildNodes() {
        return childNodes;
    }

    public void setChildNodes(List<Node> childNodes) {
        this.childNodes = childNodes;
    }
}
